package com.yanqu.road.entity.enums;

/**
 * 皮肤类型
 */
public enum eSkinType {
    Patrons("门客", 1),
    Beauty("美女", 2),
    MainRole("主角时装", 3),
    ManorObject("庄园", 4),
    LTPMainRole("限时主角时装", 5),
    Assistant("小助理时装",6),
    EstateSkin("府邸皮肤",7),
    BankSkin("钱庄皮肤",8),
    ;

    private String name;

    private int intValue;

    eSkinType(String name, int value) {
        intValue = value;
        this.name = name;
    }

    public static eSkinType forValue(int value) {
        for (eSkinType type : eSkinType.values()) {
            if (type.intValue == value) {
                return type;
            }
        }
        return null;
    }

    public int getValue() {
        return intValue;
    }

    public String getName() {
        return name;
    }
}
